<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>prngd: Universal Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">prngd
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_universal.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_universal-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Universal Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Implementation of the <a class="el" href="class_maurers.html">Maurers</a> Universal-test.  
 <a href="class_universal.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_universal_8h_source.html">Universal.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Universal:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal__inherit__graph.png" border="0" usemap="#_universal_inherit__map" alt="Inheritance graph"/></div>
<map name="_universal_inherit__map" id="_universal_inherit__map">
<area shape="rect" id="node2" href="class_nist_test.html" title="NistTest" alt="" coords="7,5,78,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Universal:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal__coll__graph.png" border="0" usemap="#_universal_coll__map" alt="Collaboration graph"/></div>
<map name="_universal_coll__map" id="_universal_coll__map">
<area shape="rect" id="node2" href="class_nist_test.html" title="NistTest" alt="" coords="7,5,78,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeeb89bf383db82a831e8fce8349e5e72"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#aeeb89bf383db82a831e8fce8349e5e72">Universal</a> (bool *bitArray, int bitArraySize)</td></tr>
<tr class="separator:aeeb89bf383db82a831e8fce8349e5e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9662be9ce4cede73216fddc48a8e411b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a9662be9ce4cede73216fddc48a8e411b">~Universal</a> ()</td></tr>
<tr class="separator:a9662be9ce4cede73216fddc48a8e411b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f944aa4cc438a98ea900d024ab7b71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a87f944aa4cc438a98ea900d024ab7b71">start</a> ()</td></tr>
<tr class="separator:a87f944aa4cc438a98ea900d024ab7b71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3738ea4486cd32c8298b5d5768ed5020"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a3738ea4486cd32c8298b5d5768ed5020">execute</a> (int size)</td></tr>
<tr class="separator:a3738ea4486cd32c8298b5d5768ed5020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_nist_test"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_nist_test')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_nist_test.html">NistTest</a></td></tr>
<tr class="memitem:a6a70421e40251ccb5fa74ffca3ee0e15 inherit pub_methods_class_nist_test"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nist_test.html#a6a70421e40251ccb5fa74ffca3ee0e15">NistTest</a> (bool *bitArray, int bitArraySize)</td></tr>
<tr class="separator:a6a70421e40251ccb5fa74ffca3ee0e15 inherit pub_methods_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac7ee49cfc296056d19a7c5a7b6204a inherit pub_methods_class_nist_test"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nist_test.html#a4ac7ee49cfc296056d19a7c5a7b6204a">~NistTest</a> ()</td></tr>
<tr class="separator:a4ac7ee49cfc296056d19a7c5a7b6204a inherit pub_methods_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a3526e227860c636f2e6cb8d83d860b inherit pub_methods_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a3526e227860c636f2e6cb8d83d860b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>printResults</b> ()</td></tr>
<tr class="separator:a6a3526e227860c636f2e6cb8d83d860b inherit pub_methods_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a3c0a326616555b2ec4c45bd0c6248334"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a3c0a326616555b2ec4c45bd0c6248334">analyseInput</a> ()</td></tr>
<tr class="separator:a3c0a326616555b2ec4c45bd0c6248334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae33a231d1319b29e3e54d572f469ab3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#ae33a231d1319b29e3e54d572f469ab3d">initTable</a> ()</td></tr>
<tr class="separator:ae33a231d1319b29e3e54d572f469ab3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac63c66f09f8deffc9522ca59ac87caec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#ac63c66f09f8deffc9522ca59ac87caec">computeFn</a> ()</td></tr>
<tr class="separator:ac63c66f09f8deffc9522ca59ac87caec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ac9dc76f85205a94a8db116552cfa9e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a9ac9dc76f85205a94a8db116552cfa9e">binToDec</a> (int hsb)</td></tr>
<tr class="separator:a9ac9dc76f85205a94a8db116552cfa9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10ea5814e1e2ae678982b92ee02d0e4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#a10ea5814e1e2ae678982b92ee02d0e4c">printTable</a> ()</td></tr>
<tr class="separator:a10ea5814e1e2ae678982b92ee02d0e4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:afce412d9a4febf3f57cb9fb0f6a33431"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#afce412d9a4febf3f57cb9fb0f6a33431">blocklength</a></td></tr>
<tr class="separator:afce412d9a4febf3f57cb9fb0f6a33431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c51f967f508fd41f143b79636d1430"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#ae0c51f967f508fd41f143b79636d1430">numberOfInitBlocks</a></td></tr>
<tr class="separator:ae0c51f967f508fd41f143b79636d1430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade89c250f4991699cac388c652fc84a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_universal.html#ade89c250f4991699cac388c652fc84a9">numberOfTestBlocks</a></td></tr>
<tr class="separator:ade89c250f4991699cac388c652fc84a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a062eb6544ac1296ff33c5134c3ad73b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a062eb6544ac1296ff33c5134c3ad73b0"></a>
int *&#160;</td><td class="memItemRight" valign="bottom"><b>table</b></td></tr>
<tr class="separator:a062eb6544ac1296ff33c5134c3ad73b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a265f9631adc6b7971d14c8ff7c3b65c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a265f9631adc6b7971d14c8ff7c3b65c8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>tableSize</b></td></tr>
<tr class="separator:a265f9631adc6b7971d14c8ff7c3b65c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4976de461c6e07f18cff8efd32c1927"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4976de461c6e07f18cff8efd32c1927"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>sigma</b></td></tr>
<tr class="separator:ae4976de461c6e07f18cff8efd32c1927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc654d139b24c97cd878bbec9af8957b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc654d139b24c97cd878bbec9af8957b"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>c</b></td></tr>
<tr class="separator:acc654d139b24c97cd878bbec9af8957b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66b1e959355cc4fc20a0f951a3d3716"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae66b1e959355cc4fc20a0f951a3d3716"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>fn</b></td></tr>
<tr class="separator:ae66b1e959355cc4fc20a0f951a3d3716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b914fdb32b1f0a87d0784ef7ce75d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82b914fdb32b1f0a87d0784ef7ce75d9"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>sum</b></td></tr>
<tr class="separator:a82b914fdb32b1f0a87d0784ef7ce75d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a6f9358288cd969b015673ea4d56b3e0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f9358288cd969b015673ea4d56b3e0c"></a>
static double&#160;</td><td class="memItemRight" valign="bottom"><b>variance</b> [17] = { 0, 0, 0, 0, 0, 0, 2.954, 3.125, 3.238, 3.311, 3.356, 3.384, 3.401, 3.410, 3.416, 3.419, 3.421 }</td></tr>
<tr class="separator:a6f9358288cd969b015673ea4d56b3e0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a8a040232f19cfbbbddad836ab4503"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80a8a040232f19cfbbbddad836ab4503"></a>
static double&#160;</td><td class="memItemRight" valign="bottom"><b>expectedValue</b> [17] = { 0, 0, 0, 0, 0, 0, 5.2177052, 6.1962507, 7.1836656, 8.1764248, 9.1723243, 10.170032, 11.168765, 12.168070, 13.167693, 14.167488, 15.167379 }</td></tr>
<tr class="separator:a80a8a040232f19cfbbbddad836ab4503"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_nist_test"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_nist_test')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_nist_test.html">NistTest</a></td></tr>
<tr class="memitem:a5b4e67db34c17b4db246da1d33c65fb5 inherit pub_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b4e67db34c17b4db246da1d33c65fb5"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>testName</b></td></tr>
<tr class="separator:a5b4e67db34c17b4db246da1d33c65fb5 inherit pub_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_nist_test"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_nist_test')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_nist_test.html">NistTest</a></td></tr>
<tr class="memitem:abcadc0135d8778cd64afc054a2fd92b3 inherit pro_methods_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcadc0135d8778cd64afc054a2fd92b3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addResult</b> (double new_p_value)</td></tr>
<tr class="separator:abcadc0135d8778cd64afc054a2fd92b3 inherit pro_methods_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_nist_test"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_nist_test')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_nist_test.html">NistTest</a></td></tr>
<tr class="memitem:ab9e7afb753245d92df58403364463b57 inherit pro_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9e7afb753245d92df58403364463b57"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>n</b></td></tr>
<tr class="separator:ab9e7afb753245d92df58403364463b57 inherit pro_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac849559b0c1722560fdc71311649759a inherit pro_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac849559b0c1722560fdc71311649759a"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>p_value</b></td></tr>
<tr class="separator:ac849559b0c1722560fdc71311649759a inherit pro_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2d036b1cdaf6c1188b508df1a1fd9e3 inherit pro_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2d036b1cdaf6c1188b508df1a1fd9e3"></a>
std::vector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>p_values</b></td></tr>
<tr class="separator:ab2d036b1cdaf6c1188b508df1a1fd9e3 inherit pro_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_nist_test"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_nist_test')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_nist_test.html">NistTest</a></td></tr>
<tr class="memitem:a99a4ce1417b5a3f973cb0f6f9c121195 inherit pro_static_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99a4ce1417b5a3f973cb0f6f9c121195"></a>
static double&#160;</td><td class="memItemRight" valign="bottom"><b>pi</b></td></tr>
<tr class="separator:a99a4ce1417b5a3f973cb0f6f9c121195 inherit pro_static_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eaebb9a03dacccaccca6624ebc72014 inherit pro_static_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1eaebb9a03dacccaccca6624ebc72014"></a>
static bool *&#160;</td><td class="memItemRight" valign="bottom"><b>bitArray</b></td></tr>
<tr class="separator:a1eaebb9a03dacccaccca6624ebc72014 inherit pro_static_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63454c0ca6a21d924b8d0a4ac04a3324 inherit pro_static_attribs_class_nist_test"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63454c0ca6a21d924b8d0a4ac04a3324"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>bitArraySize</b></td></tr>
<tr class="separator:a63454c0ca6a21d924b8d0a4ac04a3324 inherit pro_static_attribs_class_nist_test"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of the <a class="el" href="class_maurers.html">Maurers</a> Universal-test. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aeeb89bf383db82a831e8fce8349e5e72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Universal::Universal </td>
          <td>(</td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>bitArray</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bitArraySize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Construktor </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bitArray</td><td>Represents the random bits which have to be tesed. </td></tr>
    <tr><td class="paramname">bitArraySize</td><td>The size of bitArry in bits. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9662be9ce4cede73216fddc48a8e411b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Universal::~Universal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3c0a326616555b2ec4c45bd0c6248334"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Universal::analyseInput </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets the value of Q,L and K from value of (number of bits to test) </p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_a3c0a326616555b2ec4c45bd0c6248334_icgraph.png" border="0" usemap="#class_universal_a3c0a326616555b2ec4c45bd0c6248334_icgraph" alt=""/></div>
<map name="class_universal_a3c0a326616555b2ec4c45bd0c6248334_icgraph" id="class_universal_a3c0a326616555b2ec4c45bd0c6248334_icgraph">
<area shape="rect" id="node2" href="class_universal.html#a3738ea4486cd32c8298b5d5768ed5020" title="Universal::execute" alt="" coords="208,5,336,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9ac9dc76f85205a94a8db116552cfa9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Universal::binToDec </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hsb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts a binary value to a decimal value </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Highest</td><td>bit or length of the block. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The converted decimal value </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_a9ac9dc76f85205a94a8db116552cfa9e_icgraph.png" border="0" usemap="#class_universal_a9ac9dc76f85205a94a8db116552cfa9e_icgraph" alt=""/></div>
<map name="class_universal_a9ac9dc76f85205a94a8db116552cfa9e_icgraph" id="class_universal_a9ac9dc76f85205a94a8db116552cfa9e_icgraph">
<area shape="rect" id="node2" href="class_universal.html#ae33a231d1319b29e3e54d572f469ab3d" title="Universal::initTable" alt="" coords="197,5,328,32"/><area shape="rect" id="node4" href="class_universal.html#ac63c66f09f8deffc9522ca59ac87caec" title="Universal::computeFn" alt="" coords="189,56,336,83"/><area shape="rect" id="node3" href="class_universal.html#a3738ea4486cd32c8298b5d5768ed5020" title="Universal::execute" alt="" coords="384,31,512,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac63c66f09f8deffc9522ca59ac87caec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Universal::computeFn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compute the final Table an fn with the K Blocks </p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_ac63c66f09f8deffc9522ca59ac87caec_cgraph.png" border="0" usemap="#class_universal_ac63c66f09f8deffc9522ca59ac87caec_cgraph" alt=""/></div>
<map name="class_universal_ac63c66f09f8deffc9522ca59ac87caec_cgraph" id="class_universal_ac63c66f09f8deffc9522ca59ac87caec_cgraph">
<area shape="rect" id="node2" href="class_universal.html#a9ac9dc76f85205a94a8db116552cfa9e" title="Universal::binToDec" alt="" coords="200,5,336,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_ac63c66f09f8deffc9522ca59ac87caec_icgraph.png" border="0" usemap="#class_universal_ac63c66f09f8deffc9522ca59ac87caec_icgraph" alt=""/></div>
<map name="class_universal_ac63c66f09f8deffc9522ca59ac87caec_icgraph" id="class_universal_ac63c66f09f8deffc9522ca59ac87caec_icgraph">
<area shape="rect" id="node2" href="class_universal.html#a3738ea4486cd32c8298b5d5768ed5020" title="Universal::execute" alt="" coords="200,5,328,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3738ea4486cd32c8298b5d5768ed5020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Universal::execute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the Universal-test at the bitArray, given by the constructor. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The number of bits you want to test within the bitArray. </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_a3738ea4486cd32c8298b5d5768ed5020_cgraph.png" border="0" usemap="#class_universal_a3738ea4486cd32c8298b5d5768ed5020_cgraph" alt=""/></div>
<map name="class_universal_a3738ea4486cd32c8298b5d5768ed5020_cgraph" id="class_universal_a3738ea4486cd32c8298b5d5768ed5020_cgraph">
<area shape="rect" id="node2" href="class_universal.html#a3c0a326616555b2ec4c45bd0c6248334" title="Universal::analyseInput" alt="" coords="181,5,336,32"/><area shape="rect" id="node3" href="class_universal.html#ae33a231d1319b29e3e54d572f469ab3d" title="Universal::initTable" alt="" coords="193,56,324,83"/><area shape="rect" id="node5" href="class_universal.html#ac63c66f09f8deffc9522ca59ac87caec" title="Universal::computeFn" alt="" coords="185,107,332,133"/><area shape="rect" id="node4" href="class_universal.html#a9ac9dc76f85205a94a8db116552cfa9e" title="Universal::binToDec" alt="" coords="384,81,520,108"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae33a231d1319b29e3e54d572f469ab3d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Universal::initTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initialize the table with the Q Blocks </p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_ae33a231d1319b29e3e54d572f469ab3d_cgraph.png" border="0" usemap="#class_universal_ae33a231d1319b29e3e54d572f469ab3d_cgraph" alt=""/></div>
<map name="class_universal_ae33a231d1319b29e3e54d572f469ab3d_cgraph" id="class_universal_ae33a231d1319b29e3e54d572f469ab3d_cgraph">
<area shape="rect" id="node2" href="class_universal.html#a9ac9dc76f85205a94a8db116552cfa9e" title="Universal::binToDec" alt="" coords="184,5,320,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_universal_ae33a231d1319b29e3e54d572f469ab3d_icgraph.png" border="0" usemap="#class_universal_ae33a231d1319b29e3e54d572f469ab3d_icgraph" alt=""/></div>
<map name="class_universal_ae33a231d1319b29e3e54d572f469ab3d_icgraph" id="class_universal_ae33a231d1319b29e3e54d572f469ab3d_icgraph">
<area shape="rect" id="node2" href="class_universal.html#a3738ea4486cd32c8298b5d5768ed5020" title="Universal::execute" alt="" coords="184,5,312,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a10ea5814e1e2ae678982b92ee02d0e4c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Universal::printTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Helps debuggin </p>

</div>
</div>
<a class="anchor" id="a87f944aa4cc438a98ea900d024ab7b71"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Universal::start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Does nothing </p>

<p>Implements <a class="el" href="class_nist_test.html">NistTest</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="afce412d9a4febf3f57cb9fb0f6a33431"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Universal::blocklength</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>known as L from NIST doc </p>

</div>
</div>
<a class="anchor" id="ae0c51f967f508fd41f143b79636d1430"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Universal::numberOfInitBlocks</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>known as Q from NIST doc </p>

</div>
</div>
<a class="anchor" id="ade89c250f4991699cac388c652fc84a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Universal::numberOfTestBlocks</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>known as K from NIST doc </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>H:/nist_testsuite/include/<a class="el" href="_universal_8h_source.html">Universal.h</a></li>
<li>H:/nist_testsuite/source/Universal.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_universal.html">Universal</a></li>
    <li class="footer">Generated on Sun Aug 31 2014 18:02:15 for prngd by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
